IsWeakStorageUnitRef
TheIsWeakStorageUnitRef
method returns a Boolean value that indicates whether the specified persistent reference is a weak persistent reference.
ODBoolean IsWeakStorageUnitRef (in ODStorageUnitRef ref);
ref
- The persistent reference to be tested (assumed to be valid).
- return value
kODTrue
if the specified reference is a weak persistent reference, otherwisekODFalse
.DISCUSSION
Before calling this method, you can call theIsValidStorageUnitRef
method to check whether the specified persistent reference is valid.EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a value.
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
TheODStorageUnitRef
type (page 903).
TheODStorageUnit::GetWeakStorageUnitRef
method (page 699).
TheODStorageUnit::IsStrongStorageUnitRef
method (page 703).
TheODStorageUnit::IsValidStorageUnitRef
method (page 704).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help